package com.ecloud.aiassistantbackground.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 模型统计表
 * </p>
 *
 * @author Squbirreland
 * @since 2021-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("assistant_model_statistics")
@ApiModel(value = "ModelStatistics对象", description = "模型统计表")
public class ModelStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "模型统计id")
    @TableId(value = "model_statistics_id", type = IdType.AUTO)
    private Integer modelStatisticsId;

    @ApiModelProperty(value = "模型id")
    private Integer modelId;

    @ApiModelProperty(value = "模型使用次数")
    private Long modelStatisticsCount;

    @ApiModelProperty(value = "刷新时间")
    private LocalDateTime modelStatisticsRefreshTime;

}
